package main.flex.business.responder
{
	import mx.rpc.events.ResultEvent;
	
	import main.flex.value.ContactListTO;
	
	public class ContactListReponder extends MainBaseResponder
	{
		public function ContactListReponder()
		{
			super();
		}
		
		override public function result( data : Object ) : void
		{
			var contactListTO : ContactListTO = new ContactListTO( ResultEvent( data ).result as Array );
			getMainModel().contactList = contactListTO;
			//Alert.show( "oui oui\n" + ResultEvent( data ).result, "SUCCESS" );
		}		
	}
}